package py.patch.comparator;

import java.util.Comparator;

public class MapKeyIntegerStringComparator implements Comparator<String>{
 
    @Override
    public int compare(String str1, String str2) {
    	Integer s1 = Integer.parseInt(str1);
        Integer s2 = Integer.parseInt(str2);
        return s1.compareTo(s2);
    }
}